﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using ERPStudio;
using System.Data.SqlClient;


namespace ERPForms
{
    public partial class ListeSemnaturiFrm : FrmRezumat
    {
        public ListeSemnaturiFrm(ModuleClass mc): base(mc)
        {
            InitializeComponent();
            workConnString = mc.workConnectionString;
        }

       
        private void ListeSemnaturiFrm_Load(object sender, EventArgs e)
        {
            SqlConnection con = DeschideConexiune(workConnString);
            this.admin_ListeTableAdapter.Connection = con;
            this.admin_ListeTableAdapter.Fill(this.eSRPDataSet.admin_Liste);
            this.semnaturiTableAdapter.Connection = con;
            this.semnaturiTableAdapter.Fill(this.eSRPDataSet.Semnaturi);
            semnaturiListeTableAdapter.Connection = con;
            this.semnaturiListeTableAdapter.Fill(this.eSRPDataSet.SemnaturiListe);
            InchideConexiune(con);

            AddBindingSource(semnaturiListeBindingSource);
            AddTableAdaptor(semnaturiListeTableAdapter.Adapter);
        }
    }
}
